 <template>
  <HNav v-model="tabIndex"></HNav>

  <Job v-if="tabIndex === 0"></Job>
  <Person v-if="tabIndex === 1"></Person>
  <Forum v-if="tabIndex === 2"></Forum>

  <BTab :tab-index="1"></BTab>
</template>

<script setup lang="ts">

import { ref } from 'vue'
import Job from "./Job.vue";
import Forum from "./Forum.vue";
import Person from "./Person.vue";
import HNav from "../../components/HNav.vue";
import BTab from "../../components/BTab.vue";
const tabIndex = ref(0)
</script>

<style lang="scss" scoped>
.head {
  width: 100%;
  //height: 44rpx;
  min-height: 100vh;
}
.input-filter {
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 42rpx;
  .ipt {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    height: 68rpx;
    background: rgba(255,255,255,0.06);
    border-radius: 28px;
    border: 2px solid rgba(0,0,0,0.12);
    padding: 0 40rpx;
    input {
      flex: 1;
      height: 68rpx;
      font-size: 26rpx;
      font-weight: 300;
      line-height: 68rpx;
    }
    .icon {
      font-size: 28px;
      color: #0D3333;
    }
  }
  .filter {
    display: flex;
    align-items: center;
    margin-left: 40rpx;
    flex: 0 1 auto;
    span{
      height: 44rpx;
      font-size: 32rpx;
      font-weight: 300;
      color: #0D3333;
      line-height: 44rpx;
    }
  }
}



</style>
